//
//  ViewController.m
//  MasonryTest
//
//  Created by mac on 16/2/15.
//  Copyright © 2016年 mac. All rights reserved.
//

#import "ViewController.h"
#import "MasonryTestView.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    UIView * view = [[UIView alloc]initWithFrame:CGRectMake(20, 20, 300, 400)];
    view.backgroundColor = [UIColor lightGrayColor];
    [self.view addSubview:view];
    
    MasonryTestView * mView = [[MasonryTestView alloc]initWithFrame:CGRectMake(20, 20, 200, 300)];
    [view addSubview:mView];
    
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
